package top.R3;

import de.felixroske.jfxsupport.AbstractJavaFxApplicationSupport;
import javafx.stage.Stage;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import top.R3.splash.MainSplash;
import top.R3.view.IndexView;


/**
 * 这个是主函数，更换第二个参数可以改变主界面
 *
 * */
@SpringBootApplication(scanBasePackages = "top.R3")
public class R3Application extends AbstractJavaFxApplicationSupport {
    public static void main(String[] args) {
        R3Application.launch(R3Application.class, IndexView.class,new MainSplash(),args);
    }
    @Override
    public void beforeInitialView(Stage stage, ConfigurableApplicationContext ctx) {
        stage.setTitle("菜单");
        stage.setWidth(1300);
        stage.setHeight(900);
    }

}
